package com.sczmgk.hotline_pzh.db.impl;

import android.content.Context;

import com.sczmgk.hotline_pzh.db.UserDao;
import com.sczmgk.hotline_pzh.db.base.DAOSupport;
import com.sczmgk.hotline_pzh.entity.User;

/**
 * Created by chenb on 2016/12/6.
 */

public class UserDaoImpl extends DAOSupport<User> implements UserDao {

    private UserDaoImpl(Context context) {
        super(context);
    }
    private static UserDaoImpl intance;
    public static UserDaoImpl getIntance(Context context){
        if(intance == null){
            intance = new UserDaoImpl(context);
        }
        return intance;
    }
}
